package com.hsurosy.domain.strategy.model.valobj;

import lombok.*;

import java.util.List;

/**
 * @Author Hsu琛君珩
 * @Date 2024-11-19 18:19
 * @Description 权重规则值对象
 * @Version: v1.0.0
 */
@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RuleWeightVO {

    /** 原始规则值配置 */
    private String ruleValue;
    /** 权重值 */
    private Integer weight;
    /** 奖品ID列表 */
    private List<Integer> awardIds;
    /** 奖品列表 */
    private List<Award> awardList;

    @Getter
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Award {
        /** 奖品ID */
        private Integer awardId;
        /** 奖品标题 */
        private String awardTitle;
    }

}
